package com.example.ginorva.tryeverything.JPUSH;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import cn.jpush.android.api.JPushInterface;
import gogrfun.push.R;

public class jpushactivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_jpushactivity);
        Thread thread=new Thread(new Runnable() {
            @Override
            public void run() {
                JPushInterface.setDebugMode(true);
                JPushInterface.init(getApplicationContext());
            }
        });
        thread.start();
    }
}
